package com.mybatisplus.mp.config;

//@Configuration
//@EnableWebSecurity
/*
public class SecurityConfig extends*/
/* WebSecurityConfigurerAdapter*//*
 {
//    @Override
    protected void configure(HttpSecurity http) throws Exception {

        http.authorizeRequests()
                // “/”请求能被允许
                .antMatchers("/").permitAll()
                // 其他请求需要验证
                .anyRequest().authenticated()
                .and()
                .logout().permitAll()
                .and()
                .formLogin();
        http.cors().disable();
    }
}
*/
